// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

Vue.config.productionTip = false

/* eslint-disable no-new */

//路由转跳
Vue.prototype.$goRoute = function (index) {
  this.$router.push(index)
}
//入口程序
new Vue({
  router,
  // components: {App},
  // template: '<App/>',
  render: h => h(App)
}).$mount('#app')



